/**获取cookie */
export const getCookie = () => {
  let _coo = document.cookie;
  if(_coo.length > 0) {
    let cookieArr = _coo.split('=');
    if(cookieArr[0] === 'userId') {
      return cookieArr[1];
    }
  }
}